home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CUJ9104.ARJ / 9N04039A < prev    next >
Text File  |  1991-02-25  |  343b  |  11 lines

  1.  
  2. EVENT_MSG msg;            /* allocate space for a message */
  3.  
  4. Picture("test", NULL);        /* create a picture to write to */
  5. DrawAt(200, 100);        /* set the coordinates */"
  6.  
  7. DrawText("Hello, world", 0, 0, 0, NULL, NULL);    /* draw it */
  8. Window("test", "T", "C", NULL);         /* show it */
  9. GetEvent(0, &msg, sizeof(EVENT_MSG));        /* wait for an event */
  10.  
  11.